<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>个人中心</title>
    <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css"
          rel="stylesheet">
    <link href="/yunfu/Public/Css/my.css" rel="stylesheet">

    <script src="/yunfu/Public/Js/my.js"></script>
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
    <div class="row top">
    <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2" align="left">
        <img src="/yunfu/Public/images/back-white.png" align="center" id="back">
    </div>
    <div class="col-xs-8 col-sm-8 col-md-8 col-lg-8" align="center">
        <span>个人中心</span>
    </div>
    <div class="col-xs-2 col-sm-2 col-md-2 col-lg-2" align="right">
        <img src="/yunfu/Public/images/home.png" align="center" id="home">
    </div>
</div>
<script>
    mBind("<?php echo U('Index/index');?>");
</script>
    <!--topbar ends here-->
    <div class="row account-info">
        <div class="col-xs-3 col-sm-3 col-md-3 col-lg-3" align="center">
            <img src="/yunfu/Public/images/account.png">
        </div>
        <div class="col-xs-9 col-sm-9 col-md-9 col-lg-9">
            <div>用户:123456789465</div>
            <div>积分:200</div>
        </div>
    </div>

    <div class="row account-fl" onclick="onAccountMenuItemClick('order')">
        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
            订单信息
            <img src="/yunfu/Public/images/arrow-right-thin.png" style="float:right;">
        </div>
    </div>
    <div class="row account-fl" onclick="onAccountMenuItemClick('passenger')">
        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
            乘车人信息
            <img src="/yunfu/Public/images/arrow-right-thin.png" style="float:right;">
        </div>
    </div>
    <div class="row account-fl" onclick="onAccountMenuItemClick('point')">
        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
            积分规则
            <img src="/yunfu/Public/images/arrow-right-thin.png" style="float:right;">
        </div>
    </div>
    <div class="row account-fl" onclick="onAccountMenuItemClick('help')">
        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
            帮助文档
            <img src="/yunfu/Public/images/arrow-right-thin.png" style="float:right;">
        </div>
    </div>
</div>
<!--container ends here-->

<script type="text/javascript">
    function onAccountMenuItemClick(which) {
        switch (which) {
            //订单信息
            case 'order':
                window.location.href="<?php echo U('Order/index');?>";
                break;
            //乘车人信息
            case 'passenger':
                window.location.href="<?php echo U('Account/passenger');?>";
                break;
            //积分规则
            case 'point':
                window.location.href="<?php echo U('Account/point');?>";
                break;
            // 帮助文档
            case 'help':
                window.location.href="<?php echo U('Account/help');?>";
                break;
        }
    }
</script>
</body>
</html>